package com.loop.practice1;

/**
 * 子类
 * 程序开发员
 */
public class Developer extends Employee {
    //奖金
    private double bounds;

    public double getBounds() {
        return bounds;
    }

    public void setBounds(double bounds) {
        this.bounds = bounds;
    }

    @Override
    public void behavior() {
        System.out.println("工号:"+getId()+",名字"+getName()+",薪资:"+getSalary()+",奖金:"+this.bounds+",工作:敲代码");
    }
}
